
from abc import abstractmethod
from enum import Enum

class LogLevel(Enum):
    ERROR = 40
    WARNING = 30
    INFO = 20
    DEBUG = 10

class MyLogger:
    def __init__(self, level:LogLevel):
        self.outLevel = level

    @abstractmethod
    def Debug(self, content:str): ...

    @abstractmethod
    def Info(self, content:str): ...

    @abstractmethod
    def Warning(self, content:str): ...

    @abstractmethod
    def Error(self, content:str): ...

    @abstractmethod
    def print(self, content:str): ...

    @abstractmethod
    def SetOutLevel(self, level:LogLevel): ...
